package com.lucas.demo.visitor;

/**
 * @author Lucas
 * @date 2021/7/29 下午6:35
 */
public class VisitorPatternDemo {

    public static void main(String[] args) {

        ComputerPart computer = new Computer();
        computer.accept(new ComputerPartDisplayVisitor());
    }
}
